﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ausm.ObjectStore.Example.Entities;

namespace Ausm.ObjectStore.Example.Wrapper
{
    public class PersonWrapper
    {
        Person _innerObject;

        public PersonWrapper(Person innerObject)
        {
            _innerObject = innerObject;
        }

        public override string ToString()
        {
            return string.Format("Person Name:{0} Number of Addresses:{1}", _innerObject.Name, _innerObject.Adresses.Count());
        }
    }
}
